const JQTableImplement = require('../implement.js');
const TABLE_NAME='cb_login_session';
const PRIMARY_KEY='id';
const UNIQUES=['uuid'];
const KEYS=[
	'id',// int(11) AI PK 
	'session_token',// varchar(255) 
	'getui_token',// varchar(255) 
	'login_time',// datetime 
	'device_type',// int(11) 
	'device_name',// varchar(255) 
	'visitor_id',// int(11) 
	'roles'// varchar(255)
    ];


class JQLoginSessionTable extends JQTableImplement {
    constructor(conn) {
		if(!conn)console.log('table order conn isserror')
		super(conn,TABLE_NAME,KEYS,PRIMARY_KEY,UNIQUES);
       // super.name = name;
    }
	
}

module.exports = JQLoginSessionTable;